namespace Cik.Gapi4Net.Domain.Output.BookSearch
{
    using Contract;
    using Core.Json;
    using Newtonsoft.Json;

    [JsonObject]
    public class ResponseDataResult : IResponseDataResult
    {
        [JsonProperty("cursor")]
        [JsonConverter(typeof(CustomObjectCreationConverter<ICursorResult, CursorResult>))]
        public ICursorResult Cursor { get; set; }

        [JsonProperty("results")]
        [JsonConverter(typeof(CustomArrayCreationConverter<IMainResult, MainResult>))]
        public IMainResult[] MainResult { get; set; }
    }
}